<ion-view view-title="运单详情" cache-view="false" ng-init="init()" hide-back-button="false">
  <ion-content class="gray_back">
    <section class="g_main">
      <!-- 运单发车详情 -->
      <section class="truck_line track_line-edit submit_info">
        <div class="info_list">
          <ul>
            <li>
              <h4>装车日期</h4>
              <p>{{waybillInfo.shipment_time_disp}}</p>
            </li>
            <li>
              <h4>起点</h4>
              <p>{{waybillInfo.start_area_disp}}</p>
            </li>
            <li>
              <h4>详细地址</h4>
              <p>{{waybillInfo.start_addr}}</p>
            </li>
            <li>
              <h4>终点</h4>
              <p>{{waybillInfo.end_area_disp}}</p>
            </li>
            <li>
              <h4>详细地址</h4>
              <p>{{waybillInfo.end_area}}</p>
            </li>
          </ul>
          <ul>
            <li>
              <h4>货物名称</h4>
              <p>{{waybillInfo.cargo_name}}</p>
            </li>
            <li>
              <h4>体积</h4>
              <p>{{waybillInfo.cargo_bulk}}立方</p>
            </li>
            <li>
              <h4>重量</h4>
              <p>{{waybillInfo.cargo_weight}}吨</p>
            </li>
            <li>
              <h4>次数</h4>
              <p>{{waybillInfo.cargo_count}}</p>
            </li>
          </ul>
          <ul>
            <li>
              <h4>发货联系人</h4>
              <p>{{waybillInfo.consignee}}</p>
            </li>
            <li>
              <h4>收货联系人</h4>
              <p>{{waybillInfo.consignor}}</p>
            </li>
            <li>
              <h4>配送方式</h4>
              <p>{{waybillInfo.delivery_type_disp}}</p>
            </li>
            <li>
              <h4>备注</h4>
              <p>{{waybillInfo.remark}}</p>
            </li>
          </ul>
        </div>
        <div class="btn_box" ng-show="userInfo.member_type==3 && waybillInfo.linebill_state === 0">
          <button ng-click="changeWaybillState(1)" class="btn_save">接单</button>
          <button ng-click="changeWaybillState(10)" class="btn_cancel">拒绝</button>
        </div>
      </section>
    </section>
  </ion-content>
</ion-view>
